package com.jingxing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jingxing.pojo.MatchInfo;
import com.jingxing.provider.MatchInfoMapperProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MatchInfoMapper extends BaseMapper<MatchInfo> {

    @SelectProvider(type = MatchInfoMapperProvider.class, method = "getMatchInfos")
    List<MatchInfo> getMatchInfos(Integer competitionLevel, String name, String phone);

}
